import request from '@/utils/request'

// 获取全部物资
export function getAllMaterialsVo() {
    return request({
        url: '/outWarehouse/outForm/getAllMaterialsVo',
        method: 'post'
    })
}

// 获取全部供应商
export function submitOutForm(data) {
    return request({
        url: '/outWarehouse/outForm/submitOutForm',
        method: 'post',
        data
    })
}

// 待审核列表
export function getUnreviewedPage(data) {
    return request({
        url: '/outWarehouse/outForm/getUnreviewedPage',
        method: 'post',
        data
    })
}

// 审核通过
export function audit(data) {
    return request({
        url: '/outWarehouse/outForm/audit',
        method: 'post',
        data
    })
}